"""Initial

Revision ID: e0d626544b83
Revises: 
Create Date: 2023-03-30 20:34:33.316380

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'e0d626544b83'
down_revision = None
branch_labels = None
depends_on = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('profiles_settings',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('chat_id', sa.Integer(), nullable=True),
    sa.Column('user_name', sa.VARCHAR(length=50), nullable=True),
    sa.Column('links', sa.VARCHAR(length=1000), nullable=True),
    sa.Column('status', sa.Integer(), server_default='0', nullable=True),
    sa.Column('logging_status', sa.Integer(), server_default='0', nullable=True),
    sa.PrimaryKeyConstraint('id'),
    sa.UniqueConstraint('chat_id')
    )
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('profiles_settings')
    # ### end Alembic commands ###
